﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LanguageInfo.Entity;
using System.Collections;

namespace LanguageInfo.IDAL
{
    public interface IUserInfoDAL
    {
        int InsertUserInfo(UserInfo _objEntity);
        int UpdateUserInfo(UserInfo _objEntity);
        int UpdateUserInfoType(string _Account, int _Type);
        int UpdateUserInfoRole(string _Account, int _Role);
        int DelUserInfoType(string _Account);
        UserInfo GetOnlyUserInfo(string _Account);
        List<UserInfo> GetAllUserInfo();

        int GetAllUserInfoPageCount(ArrayList objArryParamName, ArrayList objArryParam);
        List<UserInfo> GetAllUserInfoPage(ArrayList objArryParamName, ArrayList objArryParam, int StartIndex, int EndIndex);
    }
}
